package com.secsys.model;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;
/**
 * 对应于表tb_sto_stock 【一】、股票基本信息表
 *@作者 tiger.hu.tiger@gmail.com
 *@创建日期 2011-5-1
 *@版本1.0
 */
public class TbStoStock implements java.io.Serializable {

	// Fields

	private static final long serialVersionUID = 7072178226150121562L;
	private Integer id;
	private String stockCode;
	private String stockName;
	private String stockBoard;
	private String stockType;
	private Date listingDate;
	private String manageArea;
	private String mainOperation;
	private String companyNameZh;
	private String companyNameEn;
	private String description;
	private Set<TbStoRationedshares> tbStoRationedshareses = new HashSet<TbStoRationedshares>(0);
	private Set<TbStoFinanceperstock> tbStoFinanceperstocks = new HashSet<TbStoFinanceperstock>(0);
	private Set<TbStoCapitalization> tbStoCapitalizations = new HashSet<TbStoCapitalization>(0);
	private Set<TbStoPriceearning> tbStoPriceearnings = new HashSet<TbStoPriceearning>(0);
	private Set<TbStoStockdaily> tbStoStockdailies = new HashSet<TbStoStockdaily>(0);
	private Set<TbStoFinanceassetdebt> tbStoFinanceassetdebts = new HashSet<TbStoFinanceassetdebt>(0);
	private Set<TbStoFinanceprofit> tbStoFinanceprofits = new HashSet<TbStoFinanceprofit>(0);
	private Set<TbStoFinancecash> tbStoFinancecashs = new HashSet<TbStoFinancecash>(0);

	// Constructors

	/** default constructor */
	public TbStoStock() {
	}

	/** minimal constructor */
	public TbStoStock(String stockCode, String stockName) {
		this.stockCode = stockCode;
		this.stockName = stockName;
	}
	public TbStoStock(String stockCode, String stockName, String stockBoard,
			String stockType, Date listingDate, String manageArea,
			String mainOperation, String companyNameZh, String companyNameEn,
			String description) {
		this.stockCode = stockCode;
		this.stockName = stockName;
		this.stockBoard = stockBoard;
		this.stockType = stockType;
		this.listingDate = listingDate;
		this.manageArea = manageArea;
		this.mainOperation = mainOperation;
		this.companyNameZh = companyNameZh;
		this.companyNameEn = companyNameEn;
		this.description = description;
	}
	/** full constructor */
	public TbStoStock(String stockCode, String stockName, String stockBoard,
			String stockType, Date listingDate, String manageArea,
			String mainOperation, String companyNameZh, String companyNameEn,
			String description, Set<TbStoRationedshares> tbStoRationedshareses,
			Set<TbStoFinanceperstock> tbStoFinanceperstocks, Set<TbStoCapitalization> tbStoCapitalizations,
			Set<TbStoPriceearning> tbStoPriceearnings, Set<TbStoStockdaily> tbStoStockdailies,
			Set<TbStoFinanceassetdebt> tbStoFinanceassetdebts, Set<TbStoFinanceprofit> tbStoFinanceprofits,
			Set<TbStoFinancecash> tbStoFinancecashs) {
		this.stockCode = stockCode;
		this.stockName = stockName;
		this.stockBoard = stockBoard;
		this.stockType = stockType;
		this.listingDate = listingDate;
		this.manageArea = manageArea;
		this.mainOperation = mainOperation;
		this.companyNameZh = companyNameZh;
		this.companyNameEn = companyNameEn;
		this.description = description;
		this.tbStoRationedshareses = tbStoRationedshareses;
		this.tbStoFinanceperstocks = tbStoFinanceperstocks;
		this.tbStoCapitalizations = tbStoCapitalizations;
		this.tbStoPriceearnings = tbStoPriceearnings;
		this.tbStoStockdailies = tbStoStockdailies;
		this.tbStoFinanceassetdebts = tbStoFinanceassetdebts;
		this.tbStoFinanceprofits = tbStoFinanceprofits;
		this.tbStoFinancecashs = tbStoFinancecashs;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}
	/**
	 * 股票代码
	 * @return
	 */
	public String getStockCode() {
		return this.stockCode;
	}
	/**
	 * 股票代码
	 * @return
	 */
	public void setStockCode(String stockCode) {
		this.stockCode = stockCode;
	}

	/**
	 * 股票名称
	 * @return
	 */
	public String getStockName() {
		return stockName;
	}
	/**
	 * 股票名称
	 * @return
	 */
	public void setStockName(String stockName) {
		this.stockName = stockName;
	}
	/**
	 * 股票板块：eg：地区板块、行业板块
	 * @return
	 */
	public String getStockBoard() {
		return stockBoard;
	}
	/**
	 * 股票板块：eg：地区板块、行业板块
	 * @return
	 */
	public void setStockBoard(String stockBoard) {
		this.stockBoard = stockBoard;
	}
	/**
	 * 股票种类：深沪市A、B、H股
	 * @return
	 */
	public String getStockType() {
		return stockType;
	}
	/**
	 * 股票种类：深沪市A、B、H股
	 * @return
	 */
	public void setStockType(String stockType) {
		this.stockType = stockType;
	}
	/**
	 * 上市日期
	 * @return
	 */
	public Date getListingDate() {
		return listingDate;
	}
	/**
	 * 上市日期
	 * @return
	 */
	public void setListingDate(Date listingDate) {
		this.listingDate = listingDate;
	}
	/**
	 * 经营范围
	 * @return
	 */
	public String getManageArea() {
		return manageArea;
	}
	/**
	 * 经营范围
	 * @return
	 */
	public void setManageArea(String manageArea) {
		this.manageArea = manageArea;
	}
	/**
	 * 主营业务
	 * @return
	 */
	public String getMainOperation() {
		return mainOperation;
	}
	/**
	 * 主营业务
	 * @return
	 */
	public void setMainOperation(String mainOperation) {
		this.mainOperation = mainOperation;
	}
	/**
	 * 中文公司名称
	 * @return
	 */
	public String getCompanyNameZh() {
		return companyNameZh;
	}
	/**
	 * 中文公司名称
	 * @return
	 */
	public void setCompanyNameZh(String companyNameZh) {
		this.companyNameZh = companyNameZh;
	}
	/**
	 * 英文公司名称
	 * @return
	 */
	public String getCompanyNameEn() {
		return companyNameEn;
	}
	/**
	 * 英文公司名称
	 * @return
	 */
	public void setCompanyNameEn(String companyNameEn) {
		this.companyNameEn = companyNameEn;
	}
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}

	public Set<TbStoRationedshares> getTbStoRationedshareses() {
		return this.tbStoRationedshareses;
	}

	public void setTbStoRationedshareses(Set<TbStoRationedshares> tbStoRationedshareses) {
		this.tbStoRationedshareses = tbStoRationedshareses;
	}

	public Set<TbStoFinanceperstock> getTbStoFinanceperstocks() {
		return this.tbStoFinanceperstocks;
	}

	public void setTbStoFinanceperstocks(Set<TbStoFinanceperstock> tbStoFinanceperstocks) {
		this.tbStoFinanceperstocks = tbStoFinanceperstocks;
	}

	public Set<TbStoCapitalization> getTbStoCapitalizations() {
		return this.tbStoCapitalizations;
	}

	public void setTbStoCapitalizations(Set<TbStoCapitalization> tbStoCapitalizations) {
		this.tbStoCapitalizations = tbStoCapitalizations;
	}

	public Set<TbStoPriceearning> getTbStoPriceearnings() {
		return this.tbStoPriceearnings;
	}

	public void setTbStoPriceearnings(Set<TbStoPriceearning> tbStoPriceearnings) {
		this.tbStoPriceearnings = tbStoPriceearnings;
	}

	public Set<TbStoStockdaily> getTbStoStockdailies() {
		return this.tbStoStockdailies;
	}

	public void setTbStoStockdailies(Set<TbStoStockdaily> tbStoStockdailies) {
		this.tbStoStockdailies = tbStoStockdailies;
	}

	public Set<TbStoFinanceassetdebt> getTbStoFinanceassetdebts() {
		return this.tbStoFinanceassetdebts;
	}

	public void setTbStoFinanceassetdebts(Set<TbStoFinanceassetdebt> tbStoFinanceassetdebts) {
		this.tbStoFinanceassetdebts = tbStoFinanceassetdebts;
	}

	public Set<TbStoFinanceprofit> getTbStoFinanceprofits() {
		return this.tbStoFinanceprofits;
	}

	public void setTbStoFinanceprofits(Set<TbStoFinanceprofit> tbStoFinanceprofits) {
		this.tbStoFinanceprofits = tbStoFinanceprofits;
	}

	public Set<TbStoFinancecash> getTbStoFinancecashs() {
		return this.tbStoFinancecashs;
	}

	public void setTbStoFinancecashs(Set<TbStoFinancecash> tbStoFinancecashs) {
		this.tbStoFinancecashs = tbStoFinancecashs;
	}

}